import Vue from 'vue'
import VueRouter from 'vue-router'


Vue.use(VueRouter)

import DoctorList from '../components/doctor_list'
import DoctorPaiban from '../components/doctor_paiban'
import AdminUpdatePwd from '../components/admin_update_pwd'
import KeshiManage from '../components/keshi_manage'
import YaoPingList from '../components/yao_ping_list'
import PatientManage from '../components/patient_manage'
import ZhiChenManage from '../components/zhichen_manage'
import LiaoTian from '../components/liaotian'
import Perm from '../components/perm_list'
import Role from '../components/role_manage'
import Admin from '../components/admin_manage'
import ZongStatistics from '../components/zong_statistics'

import home from '../components/home'
const router = new VueRouter({
//去掉浏览器后面的“#”
mode: 'history',
routes: [
  {
    path: '/',
    name: 'home',
    component: home
  },
  {
    path: '/doctor_list',
    component: DoctorList
  },
  {
    path: '/doctor_paiban',
    component: DoctorPaiban
  },
  {
    path: '/admin_update_pwd',
    component: AdminUpdatePwd
  },
  {
    path: '/keshi_manage',
    component: KeshiManage
  },
  {
    path: '/yao_ping_list',
    component: YaoPingList
  },
  {
    path: '/patient_manage',
    component: PatientManage
  },
  {
    path: '/zhichen_manage',
    component: ZhiChenManage
  },
  {
    path: '/liaotian',
    component: LiaoTian
  },
  {
    path: '/perm_list',
    component: Perm
  },
  {
    path: '/role_manage',
    component: Role
  },
  {
    path: '/admin_manage',
    component: Admin
  },
  {
    path: '/zong_statistics',
    component: ZongStatistics
  },
  
 ]
})

export default router
